import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useCollapseStore = defineStore('isCollapse', () => {
  const isCollapse = ref(false)

  const changeCollapse = () => {
    isCollapse.value = !isCollapse.value
  }

  return { isCollapse, changeCollapse}
})
